package com.piz.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * @author prameetk.sharma
 *
 */
@Entity
@Table(name="payment_type")
public class Payment_Type implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String paymentType;
	private String description;
	/**
	 * 
	 */
	public Payment_Type() {
		// TODO Auto-generated constructor stub
	}
	/**
	 * @param payment_type
	 * @param description
	 */
	public Payment_Type(String paymentType, String description) {
		this.paymentType = paymentType;
		this.description = description;
	}
	/**
	 * @return the Long id
	 */
	@Id
    @GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="id")
	public Long getId() {
		return id;
	}
	/**
	 * @param id Long the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the String payment_type
	 */
	@Column(name="payment_type")
	public String getPaymentType() {
		return paymentType;
	}
	/**
	 * @param payment_type String the payment_type to set
	 */
	public void setPaymentType(String paymenttype) {
		this.paymentType = paymenttype;
	}
	/**
	 * @return the String description
	 */
	@Column(name="description")
	public String getDescription() {
		return description;
	}
	/**
	 * @param description String the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	
}
